3.1.56 \(\int (a+b \cos (c+d x))^{4/3} \, dx\) [56]

Optimal. Leaf size=108 \[ \frac {\sqrt {2} (a+b) F_1\left (\frac {1}{2};\frac {1}{2},-\frac {4}{3};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x)),\frac {b (1-\cos (c+d x))}{a+b}\right ) \sqrt [3]{a+b \cos (c+d x)} \sin (c+d x)}{d \sqrt {1+\cos (c+d x)} \sqrt [3]{\frac {a+b \cos (c+d x)}{a+b}}} \]

[Out]

(a+b)*AppellF1(1/2,-4/3,1/2,3/2,b*(1-cos(d*x+c))/(a+b),1/2-1/2*cos(d*x+c))*(a+b*cos(d*x+c))^(1/3)*sin(d*x+c)*2
^(1/2)/d/((a+b*cos(d*x+c))/(a+b))^(1/3)/(1+cos(d*x+c))^(1/2)

________________________________________________________________________________________

Rubi [A]
time = 0.05, antiderivative size = 108, normalized size of antiderivative = 1.00, number of steps used = 3, number of rules used = 3, integrand size = 14, \(\frac {\text {number of rules}}{\text {integrand size}}\) = 0.214, Rules used = {2744, 144, 143} \begin {gather*} \frac {\sqrt {2} (a+b) \sin (c+d x) \sqrt [3]{a+b \cos (c+d x)} F_1\left (\frac {1}{2};\frac {1}{2},-\frac {4}{3};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x)),\frac {b (1-\cos (c+d x))}{a+b}\right )}{d \sqrt {\cos (c+d x)+1} \sqrt [3]{\frac {a+b \cos (c+d x)}{a+b}}} \end {gather*}

Antiderivative was successfully verified.

[In]

Int[(a + b*Cos[c + d*x])^(4/3),x]

[Out]

(Sqrt[2]*(a + b)*AppellF1[1/2, 1/2, -4/3, 3/2, (1 - Cos[c + d*x])/2, (b*(1 - Cos[c + d*x]))/(a + b)]*(a + b*Co
s[c + d*x])^(1/3)*Sin[c + d*x])/(d*Sqrt[1 + Cos[c + d*x]]*((a + b*Cos[c + d*x])/(a + b))^(1/3))

Rule 143

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Simp[((a + b*x)
^(m + 1)/(b*(m + 1)*(b/(b*c - a*d))^n*(b/(b*e - a*f))^p))*AppellF1[m + 1, -n, -p, m + 2, (-d)*((a + b*x)/(b*c
- a*d)), (-f)*((a + b*x)/(b*e - a*f))], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] &&  !IntegerQ[m] &&  !Inte
gerQ[n] &&  !IntegerQ[p] && GtQ[b/(b*c - a*d), 0] && GtQ[b/(b*e - a*f), 0] &&  !(GtQ[d/(d*a - c*b), 0] && GtQ[
d/(d*e - c*f), 0] && SimplerQ[c + d*x, a + b*x]) &&  !(GtQ[f/(f*a - e*b), 0] && GtQ[f/(f*c - e*d), 0] && Simpl
erQ[e + f*x, a + b*x])

Rule 144

Int[((a_) + (b_.)*(x_))^(m_)*((c_.) + (d_.)*(x_))^(n_)*((e_.) + (f_.)*(x_))^(p_), x_Symbol] :> Dist[(e + f*x)^
FracPart[p]/((b/(b*e - a*f))^IntPart[p]*(b*((e + f*x)/(b*e - a*f)))^FracPart[p]), Int[(a + b*x)^m*(c + d*x)^n*
(b*(e/(b*e - a*f)) + b*f*(x/(b*e - a*f)))^p, x], x] /; FreeQ[{a, b, c, d, e, f, m, n, p}, x] &&  !IntegerQ[m]
&&  !IntegerQ[n] &&  !IntegerQ[p] && GtQ[b/(b*c - a*d), 0] &&  !GtQ[b/(b*e - a*f), 0]

Rule 2744

Int[((a_) + (b_.)*sin[(c_.) + (d_.)*(x_)])^(n_), x_Symbol] :> Dist[Cos[c + d*x]/(d*Sqrt[1 + Sin[c + d*x]]*Sqrt
[1 - Sin[c + d*x]]), Subst[Int[(a + b*x)^n/(Sqrt[1 + x]*Sqrt[1 - x]), x], x, Sin[c + d*x]], x] /; FreeQ[{a, b,
 c, d, n}, x] && NeQ[a^2 - b^2, 0] &&  !IntegerQ[2*n]

Rubi steps

\begin {align*} \int (a+b \cos (c+d x))^{4/3} \, dx &=-\frac {\sin (c+d x) \text {Subst}\left (\int \frac {(a+b x)^{4/3}}{\sqrt {1-x} \sqrt {1+x}} \, dx,x,\cos (c+d x)\right )}{d \sqrt {1-\cos (c+d x)} \sqrt {1+\cos (c+d x)}}\\ &=\frac {\left ((-a-b) \sqrt [3]{a+b \cos (c+d x)} \sin (c+d x)\right ) \text {Subst}\left (\int \frac {\left (-\frac {a}{-a-b}-\frac {b x}{-a-b}\right )^{4/3}}{\sqrt {1-x} \sqrt {1+x}} \, dx,x,\cos (c+d x)\right )}{d \sqrt {1-\cos (c+d x)} \sqrt {1+\cos (c+d x)} \sqrt [3]{-\frac {a+b \cos (c+d x)}{-a-b}}}\\ &=\frac {\sqrt {2} (a+b) F_1\left (\frac {1}{2};\frac {1}{2},-\frac {4}{3};\frac {3}{2};\frac {1}{2} (1-\cos (c+d x)),\frac {b (1-\cos (c+d x))}{a+b}\right ) \sqrt [3]{a+b \cos (c+d x)} \sin (c+d x)}{d \sqrt {1+\cos (c+d x)} \sqrt [3]{\frac {a+b \cos (c+d x)}{a+b}}}\\ \end {align*}

________________________________________________________________________________________

Mathematica [B] Leaf count is larger than twice the leaf count of optimal. \(246\) vs. \(2(108)=216\).
time = 1.27, size = 246, normalized size = 2.28 \begin {gather*} -\frac {3 \sqrt [3]{a+b \cos (c+d x)} \csc (c+d x) \left (4 \left (-a^2+b^2\right ) F_1\left (\frac {1}{3};\frac {1}{2},\frac {1}{2};\frac {4}{3};\frac {a+b \cos (c+d x)}{a-b},\frac {a+b \cos (c+d x)}{a+b}\right ) \sqrt {-\frac {b (-1+\cos (c+d x))}{a+b}} \sqrt {-\frac {b (1+\cos (c+d x))}{a-b}}+5 a F_1\left (\frac {4}{3};\frac {1}{2},\frac {1}{2};\frac {7}{3};\frac {a+b \cos (c+d x)}{a-b},\frac {a+b \cos (c+d x)}{a+b}\right ) \sqrt {-\frac {b (-1+\cos (c+d x))}{a+b}} \sqrt {-\frac {b (1+\cos (c+d x))}{a-b}} (a+b \cos (c+d x))-4 b^2 \sin ^2(c+d x)\right )}{16 b d} \end {gather*}

Antiderivative was successfully verified.

[In]

Integrate[(a + b*Cos[c + d*x])^(4/3),x]

[Out]

(-3*(a + b*Cos[c + d*x])^(1/3)*Csc[c + d*x]*(4*(-a^2 + b^2)*AppellF1[1/3, 1/2, 1/2, 4/3, (a + b*Cos[c + d*x])/
(a - b), (a + b*Cos[c + d*x])/(a + b)]*Sqrt[-((b*(-1 + Cos[c + d*x]))/(a + b))]*Sqrt[-((b*(1 + Cos[c + d*x]))/
(a - b))] + 5*a*AppellF1[4/3, 1/2, 1/2, 7/3, (a + b*Cos[c + d*x])/(a - b), (a + b*Cos[c + d*x])/(a + b)]*Sqrt[
-((b*(-1 + Cos[c + d*x]))/(a + b))]*Sqrt[-((b*(1 + Cos[c + d*x]))/(a - b))]*(a + b*Cos[c + d*x]) - 4*b^2*Sin[c
 + d*x]^2))/(16*b*d)

________________________________________________________________________________________

Maple [F]
time = 0.04, size = 0, normalized size = 0.00 \[\int \left (a +b \cos \left (d x +c \right )\right )^{\frac {4}{3}}\, dx\]

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a+b*cos(d*x+c))^(4/3),x)

[Out]

int((a+b*cos(d*x+c))^(4/3),x)

________________________________________________________________________________________

Maxima [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {Failed to integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*cos(d*x+c))^(4/3),x, algorithm="maxima")

[Out]

integrate((b*cos(d*x + c) + a)^(4/3), x)

________________________________________________________________________________________

Fricas [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*cos(d*x+c))^(4/3),x, algorithm="fricas")

[Out]

integral((b*cos(d*x + c) + a)^(4/3), x)

________________________________________________________________________________________

Sympy [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \int \left (a + b \cos {\left (c + d x \right )}\right )^{\frac {4}{3}}\, dx \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*cos(d*x+c))**(4/3),x)

[Out]

Integral((a + b*cos(c + d*x))**(4/3), x)

________________________________________________________________________________________

Giac [F]
time = 0.00, size = 0, normalized size = 0.00 \begin {gather*} \text {could not integrate} \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

integrate((a+b*cos(d*x+c))^(4/3),x, algorithm="giac")

[Out]

integrate((b*cos(d*x + c) + a)^(4/3), x)

________________________________________________________________________________________

Mupad [F]
time = 0.00, size = -1, normalized size = -0.01 \begin {gather*} \int {\left (a+b\,\cos \left (c+d\,x\right )\right )}^{4/3} \,d x \end {gather*}

Verification of antiderivative is not currently implemented for this CAS.

[In]

int((a + b*cos(c + d*x))^(4/3),x)

[Out]

int((a + b*cos(c + d*x))^(4/3), x)

________________________________________________________________________________________